package com.netease.pris.activity.a;

import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import java.util.ArrayList;
import java.util.List;

public class aj extends BaseAdapter
{
  private List a = null;

  public aj(int paramInt)
  {
    this.a = new ArrayList(paramInt);
    for (int i = 0; i < paramInt; i++)
      this.a.add(null);
  }

  public aj(List paramList)
  {
    this.a = paramList;
  }

  protected View a(int paramInt, ViewGroup paramViewGroup)
  {
    throw new RuntimeException("You must override newView()!");
  }

  public boolean areAllItemsEnabled()
  {
    return false;
  }

  public int getCount()
  {
    return this.a.size();
  }

  public Object getItem(int paramInt)
  {
    return this.a.get(paramInt);
  }

  public long getItemId(int paramInt)
  {
    return paramInt;
  }

  public int getItemViewType(int paramInt)
  {
    return paramInt;
  }

  public View getView(int paramInt, View paramView, ViewGroup paramViewGroup)
  {
    View localView = (View)this.a.get(paramInt);
    if (localView == null)
    {
      localView = a(paramInt, paramViewGroup);
      this.a.set(paramInt, localView);
    }
    return localView;
  }

  public int getViewTypeCount()
  {
    return getCount();
  }

  public boolean isEnabled(int paramInt)
  {
    return false;
  }
}

/* Location:           D:\android\hack\dex2jar-0.0.9.8\classes_dex2jar.jar
 * Qualified Name:     com.netease.pris.activity.a.aj
 * JD-Core Version:    0.6.0
 */